package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.CheckItem;
import com.itheima.pojo.User;

import java.util.Map;

/**
 * 用户服务
 */
public interface UserService {
    public User findByUsername(String username);

    public PageResult pageQuery(QueryPageBean queryPageBean);

    public  void add(User user);

    public User findById(Integer id);

    void edit(User user);

    void deleteById(Integer id);

    //void addroles(Integer id,Integer roleId);
}
